<?php

class MenuElement extends Object{

    var $name;
    var $action;
    var $controllerName;
     
    function MenuElement($name, $action, $controllerName){
    	$this->name = $name;
    	$this->action = $action;
    	$this->controllerName = $controllerName;
    }
   	
    function setName($name){
    	$this->name = $name;
    }
    
    function getName(){
    	return $this->name;
    }
    
    function setAction($action){
    	$this->action = $action;
    }
    
    function getAction(){
    	return $this->action;
    }    
    
    function setControllerName($controllerName){
    	$this->controllerName = $controllerName;
    }
    
    function getControllerName(){
    	return $this->controllerName;
    }
}

?>